﻿using Abp.Domain.Entities.Auditing;
using KDS.Mes.Mes.Styles;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KDS.Mes.Mes.AlcCodes
{
    /// <summary>
    /// ALCCode信息
    /// </summary>
    [Table("T_BomAlcCode")]
    public class AlcCode : FullAuditedEntity
    {
        
        [ForeignKey("StyleId")]
        public virtual Style Style { get; set; }
        /// <summary>
        /// 所属款式
        /// </summary>
        public virtual int StyleId { get; set; }

        /// <summary>
        /// ALCCode
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string ALCCode { get; set; }



        /// <summary>
        /// 车式样
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string CarStyle { get; set; }
    }
}
